package com.yxh.service;

import com.github.pagehelper.PageInfo;
import com.yxh.base.BaseService;
import com.yxh.pojo.Position;
import com.yxh.pojo.Question;
import com.yxh.pojo.Work;

import java.util.List;
import java.util.Map;

/**
 * Created by asus on 2018/6/12.
 */
public interface PositionService extends BaseService<Position,String> {


    int insertQ(String id, List<Map> questions);

    PageInfo getList(Map<String,Object> deptJson, Integer limit, Integer offset);

    Map<String,Object> getByPositionId(String id);

    PageInfo getAuditListApp(String userId, Integer limit, Integer offset);

    PageInfo getListApp(String code, int page, int pageSize);
}
